Integrand size = 30, antiderivative size = 283 \[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\frac {2 \sqrt [4]{c} d^{3/4} \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right ),-1\right )}{b \sqrt {e} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c-a d) \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticPi}\left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}},\arcsin \left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right ),-1\right )}{a b \sqrt [4]{d} \sqrt {e} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c-a d) \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticPi}\left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}},\arcsin \left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right ),-1\right )}{a b \sqrt [4]{d} \sqrt {e} \sqrt {c-d x^2}} \]
[Out]
Time = 0.28 (sec) , antiderivative size = 283, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.233, Rules used = {477, 415, 230, 227, 418, 1233, 1232} \[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\frac {\sqrt [4]{c} \sqrt {1-\frac {d x^2}{c}} (b c-a d) \operatorname {EllipticPi}\left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}},\arcsin \left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right ),-1\right )}{a b \sqrt [4]{d} \sqrt {e} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} \sqrt {1-\frac {d x^2}{c}} (b c-a d) \operatorname {EllipticPi}\left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}},\arcsin \left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right ),-1\right )}{a b \sqrt [4]{d} \sqrt {e} \sqrt {c-d x^2}}+\frac {2 \sqrt [4]{c} d^{3/4} \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right ),-1\right )}{b \sqrt {e} \sqrt {c-d x^2}} \]
[In]
[Out]
Rule 227
Rule 230
Rule 415
Rule 418
Rule 477
Rule 1232
Rule 1233
Rubi steps \begin{align*} \text {integral}& = \frac {2 \text {Subst}\left (\int \frac {\sqrt {c-\frac {d x^4}{e^2}}}{a-\frac {b x^4}{e^2}} \, dx,x,\sqrt {e x}\right )}{e} \\ & = \frac {(2 d) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{b e}+\frac {(2 (b c-a d)) \text {Subst}\left (\int \frac {1}{\left (a-\frac {b x^4}{e^2}\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{b e} \\ & = \frac {(b c-a d) \text {Subst}\left (\int \frac {1}{\left (1-\frac {\sqrt {b} x^2}{\sqrt {a} e}\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{a b e}+\frac {(b c-a d) \text {Subst}\left (\int \frac {1}{\left (1+\frac {\sqrt {b} x^2}{\sqrt {a} e}\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{a b e}+\frac {\left (2 d \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{b e \sqrt {c-d x^2}} \\ & = \frac {2 \sqrt [4]{c} d^{3/4} \sqrt {1-\frac {d x^2}{c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{b \sqrt {e} \sqrt {c-d x^2}}+\frac {\left ((b c-a d) \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1}{\left (1-\frac {\sqrt {b} x^2}{\sqrt {a} e}\right ) \sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{a b e \sqrt {c-d x^2}}+\frac {\left ((b c-a d) \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1}{\left (1+\frac {\sqrt {b} x^2}{\sqrt {a} e}\right ) \sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{a b e \sqrt {c-d x^2}} \\ & = \frac {2 \sqrt [4]{c} d^{3/4} \sqrt {1-\frac {d x^2}{c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{b \sqrt {e} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c-a d) \sqrt {1-\frac {d x^2}{c}} \Pi \left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{a b \sqrt [4]{d} \sqrt {e} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c-a d) \sqrt {1-\frac {d x^2}{c}} \Pi \left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{a b \sqrt [4]{d} \sqrt {e} \sqrt {c-d x^2}} \\ \end{align*}
Result contains higher order function than in optimal. Order 6 vs. order 4 in optimal.
Time = 11.06 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.24 \[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\frac {2 x \sqrt {c-d x^2} \operatorname {AppellF1}\left (\frac {1}{4},-\frac {1}{2},1,\frac {5}{4},\frac {d x^2}{c},\frac {b x^2}{a}\right )}{a \sqrt {e x} \sqrt {1-\frac {d x^2}{c}}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(639\) vs. \(2(213)=426\).
Time = 3.09 (sec) , antiderivative size = 640, normalized size of antiderivative = 2.26
method | result | size |
default | \(-\frac {\sqrt {2}\, \sqrt {c d}\, \sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}\, \sqrt {\frac {-d x +\sqrt {c d}}{\sqrt {c d}}}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \left (\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b +\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) a b d \sqrt {c d}-\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b +\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) a \,d^{2} \sqrt {a b}-\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b +\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) b^{2} c \sqrt {c d}+\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b +\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) b c d \sqrt {a b}-\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b -\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) a b d \sqrt {c d}-\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b -\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) a \,d^{2} \sqrt {a b}+\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b -\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) b^{2} c \sqrt {c d}+\Pi \left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {c d}\, b}{\sqrt {c d}\, b -\sqrt {a b}\, d}, \frac {\sqrt {2}}{2}\right ) b c d \sqrt {a b}+2 F\left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {2}}{2}\right ) a \,d^{2} \sqrt {a b}-2 F\left (\sqrt {\frac {d x +\sqrt {c d}}{\sqrt {c d}}}, \frac {\sqrt {2}}{2}\right ) b c d \sqrt {a b}\right )}{2 \sqrt {-d \,x^{2}+c}\, \sqrt {e x}\, \sqrt {a b}\, \left (\sqrt {c d}\, b +\sqrt {a b}\, d \right ) \left (\sqrt {c d}\, b -\sqrt {a b}\, d \right )}\) | \(640\) |
elliptic | \(\frac {\sqrt {\left (-d \,x^{2}+c \right ) e x}\, \left (\frac {\sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, F\left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, \frac {\sqrt {2}}{2}\right )}{b \sqrt {-d e \,x^{3}+c e x}}+\frac {\sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \Pi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right ) a}{2 b \sqrt {a b}\, \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}-\frac {\sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \Pi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right ) c}{2 \sqrt {a b}\, d \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}-\frac {\sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \Pi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right ) a}{2 b \sqrt {a b}\, \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}+\frac {\sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \Pi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right ) c}{2 \sqrt {a b}\, d \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}\right )}{\sqrt {e x}\, \sqrt {-d \,x^{2}+c}}\) | \(704\) |
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=- \int \frac {\sqrt {c - d x^{2}}}{- a \sqrt {e x} + b x^{2} \sqrt {e x}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\int { -\frac {\sqrt {-d x^{2} + c}}{{\left (b x^{2} - a\right )} \sqrt {e x}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\int { -\frac {\sqrt {-d x^{2} + c}}{{\left (b x^{2} - a\right )} \sqrt {e x}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c-d x^2}}{\sqrt {e x} \left (a-b x^2\right )} \, dx=\int \frac {\sqrt {c-d\,x^2}}{\sqrt {e\,x}\,\left (a-b\,x^2\right )} \,d x \]
[In]
[Out]